<extend name="_layout/main"/>
<block name="head">
    <style>
        #main {
            padding-top: 52px;
        }
    </style>
</block>
<block name="top">
    <header class="mui-bar mui-bar-nav report-header box-s" id="header">
        <a href="{:U('Goods/detail',['id'=>$id])}"><i class="iconfont icon-fanhui fl"></i></a>
        <p>商品评价</p>
    </header>
</block>
<block name="content">
    <div id="main" class="mui-clearfix">
        <notempty name="result">
            <volist name="result" id="item">
                <div class="assess clearfloat">
                    <div class="top clearfloat box-s">
                        <div class="tu fl clearfloat">
                            <img src="{$item.avatar|default='/Public/static/img/touxiang.png'}"/>
                        </div>
                        <div class="pinfen fl clearfloat">
                            <p>{$item.nickname}</p>
                            <p>{$item.created_at|format_time}</p>
                            <p class="tit">{$item.message}</p>
                        </div>
                    </div>
                </div>
            </volist>
            <div class="show-page">
                {$page}
            </div>
            <else/>
            <div class="assess clearfloat">
                <div class="top clearfloat box-s">
                    <div class="pinfen fl clearfloat">
                        <p>暂时没有评论</p>
                    </div>
                </div>
            </div>
        </notempty>
    </div>

</block>
<block name="scripts">

</block>